update device manage_state every 2 hours