Update event/listener system and other things.