update 2 leetcode