Update whileValue.java