update the document links