def METHOD_NAME(routeTable):
    hasChanged = False
    # Migration for the removed static root setting
    if 'core_static_root' in routeTable:
        del routeTable['core_static_root']
        hasChanged = True
    for name in pluginWebroots.keys():
        if name not in routeTable:
            routeTable[name] = os.path.join('/', name)
            hasChanged = True
    if hasChanged:
        Setting().set(SettingKey.ROUTE_TABLE, routeTable)
    return routeTable