added edit and remove of events