Updated main page and document page