change in model and generator files