Update Pattern.java