Added update sensor trigger