update BaseModel.cs