updates views.py