Update Optical Sensor