update to model