(Chapter 15) : update.

exercise 3 completed