updateSensor toggles it