updates to creating a model