update the views.py for lsvms