Add edit event