added break for checking status for UPDATE_COMPLETE and UPDATE_FAILED