change config for api