update index and links