Update Sensor.c