Update Text-document

Will send a pull request to original developer