'Update an event given its id'

@requires_auth
@replace_event_id
@can_access
@api.doc('update_event', responses=PUT_RESPONSES)
@api.marshal_with(EVENT)
@api.expect(EVENT_POST)
def put(self, event_id):

    event = DAO.update(event_id, self.api.payload)
    record_activity('update_event', event_id=event_id)
    return event
