'Update a session type given its id'

@requires_auth
@replace_event_id
@can_update(DAO)
@api.doc('update_session_type', responses=PUT_RESPONSES)
@api.marshal_with(SESSION_TYPE)
@api.expect(SESSION_TYPE_POST)
def put(self, event_id, type_id):

    return TypeDAO.update(event_id, type_id, self.api.payload)
