added delete event api