update links for all pages.