Update some config and classpath
Build Pattern sample.