Update Patterns.php