delete event, update and many bugs