Update apps.py