modify doc-text