update config files first.