update isr for sensor