update some of chapter-3