updating problem 1