Update models.py

Modify the class