update links to pages