update the java class file