Update PatternMap