change the api config file