update MVC sample code/structure