Update Java files