update documents and put external links locally.