update sensor type of class