Update Sensor.java