updating links from index