update leetcode index