Update the document infomation.