updates documentation for the text module