creating a new model instance works now but not persisting