added the sensor name to do_update