adding index with updated links