updating models to inherit from our base model