update chapter-7