Update Exercise 15.24.r