edit and delete events