update sensor