updated MVC model