change config data structure