Update the documents