added test for model update

please review it
thanks