Update the java client for the API changes