updated event class