updates problem 1