Update endless_loop