add model update in view