add event delete functionality