change config to yaml