updating main index and links to pages.