Update PATTERNS.JS