change config structure