added test for model update