update for Leetcode