def METHOD_NAME():
    bind = op.get_bind()
    session = orm.Session(bind=bind)
    child_to_parents = {}
    for parent, child in session.execute(select(included_files_table.c.parent_uid, included_files_table.c.child_uid)):
        child_to_parents.setdefault(child, set()).add(parent)
    full_paths = {uid: _generate_full_path(uid, child_to_parents) for uid in child_to_parents}
    root_uids = set()
    for uid, uid_path_list in full_paths.items():
        query = select(VirtualFilePath.file_path, VirtualFilePath.parent_uid).filter(VirtualFilePath.file_uid == uid)
        path_dict = {}
        for path, parent_uid in session.execute(query):
            path_dict.setdefault(parent_uid, []).append(path)
        vfp_dict = {}
        for uid_list in uid_path_list:
            root_uid, parent_uid = uid_list[0], uid_list[-2]
            root_uids.add(root_uid)
            vfp_dict.setdefault(root_uid, [])
            for path in path_dict[parent_uid]:
                vfp_dict[root_uid].append('|'.join(uid_list[:-1] + [path]))
        fo_entry = session.get(FileObjectEntry, uid)
        fo_entry.virtual_file_paths = vfp_dict
    # VFP entries of root objects still need to be updated because they have no entries in the VirtualFilePath table
    for uid in root_uids:
        fo_entry = session.get(FileObjectEntry, uid)
        fo_entry.virtual_file_paths = {uid: [uid]}
    session.commit()