fix firmware_update
test all apps and add comments
minor change
mergin conflicts