edit event.