update with example pattern