Update models.py

add "mod" field to avoid primary key errors