edit-event now working