updating the config file