addOrUpdate must return a model instead of schema