[chapter3] update 3.2 completely