Update model and re-generate controller and view