upgrade config file