upgrade initModules