Update problem 8