Update chapter 3 samples