Update static and DbPatterns