java update test