Changes to the database and updated the model