update device_upgrade set be_current_version = 0 where be_current_version = 1