Update sensorCode