Script to update landscape maps

Hi there!
i was wondering if anyone knows if there is a way, a tool or a script to update landscape paint layers and heightmaps. So far, i have to go to each single tile to manuelly update the data. Or delete all and reimport. But i feel there must be a more easier and non destructive way to simply update landscape tiles with new data.
Would love to hear!
all the best! T