Update Thread.java