update example 7