reverts changes in models.py