update delete.py