amend config file