update documents and comments