Implemented editing an event