Update problem 2.c