add, edit and delete events