add model update method