update example 4-7

update example 4-7