added test for model update

please review it
thanks
:+1: