updating of the java file