How to update the sensor?