add edit event