update text and formatting of document
fix table