update the format of the java request