Updating model generator.