Update problem 5