def update(session, resource):
    """
    Updates the modeling content for the given qiprofile session
    database object from the given XNAT modeling resource object.

    :param session: the target qiprofile Session to update
    :param resource: the XNAT modeling resource object
    """
    pass
