Added deletion and editing of events