changes to model and migrations