Update ROI model to generate and distribute java code