migrates namespaces