update hideMessagePatterns