updating with new links between pages