Update Java model