updates to model