Update models.py and settings.py