I found this to work consistently:
- Reset the Hue motion sensor
- Bring it close to the Hubitat (within a couple feet)
- Re-pair it to Hubitat (it will pair back with the same device id/name etc)
- Do the firmware update
- Move it to its final location
For whatever reason, the update doesn't work when routed through some zigbee repeaters.