modify the org function in views.py