Update patterns.json