update publish page in order to use preparePlainTextValue