Update Exercise 2-6.