oh I see why it was getting deleted. I was giving the id numbers in the csv and some of them were matching with images and acf group field. That’s why it was deleting. I think it’s best not give any id initially.
By the way I love your plugin, very thoughtful.