setting up mvc model + a lot of update