Update twoSum