Update Sensor.cpp