update problem 2