Migrate config.