changed update model and spec