Updating links between pages