change firmware update from wget to curl