change config mathod