bug trying to get the update device button to work