implement delete event

#48