Update the document as a PDF and fix some comment