Update models.py

overwrite delete function for data manager