updating pages with links