custom model class updated