update pattern example 1