update links for index