Update PatternFormatter.cs