Update the config file