add and delete event