update view.py class add_goal