updates controller to reflect changes in model