change config method