update device button in devices