Update model class.