update controllers.py