updating links in index