update sensor through new way