updated the deletion patterns.