Update patterns.txt