Implemented event edit functionality