Updating firmware using BQ hex file