link update and index