update pattern.md