update java docs due to java sdk change