update chapter-6