update java generator