model update works