updated the java docs