Update patterns.md