update the correct sensor class