Updated view to pass in model data from controller.