updated the deletion patterns