update example 3-9

update example 3-9