change config logic