updated Java documentation