add edit event class