updating views.py