Update delete.py

added deleted event