Update output.java