Update java client example