Update model class main