updated model and outputs to views