added code to allow for edit/saving event information