created a model and made changes to the db