update event if there is any update