Update peltier and light API endpoints