Have you tried to make a firmware to implement OTA update? - DevHeads IoT Integration Server