update single number ii solution