rest model update