update config for plain-text