Update event class.