Update Exercise 2-7.