updated AddEvent