fix update tests
fix update model unit tests