update Java API documentation.