updates to model view controller