update the shome's views.py