update event/dom