update chapter 6 to use new routing features