Update config files before os switch