Update updates model and view.