fix bug of multiple update event triggered