update event dispatcher class.
updated