update example 4-18

update example 4-18