Update Java Class