update MVC model