updates the java stuff