update example 5-2

update example 5-2