Update DOM events