update config and remove no use fold
update config