Add custom data to an item in a barrel

Hi there! I'm trying to add a custom data tag to an item in a barrel. I'm currently using /data modify block ~ ~ ~ Items[1].components."minecraft:custom_data" set value {TestTag:1b}, though this obviously replaces any tags the item had before. Is there any way to add instead of set tags?

Continue to help post