Previous stack gets deleted on new synth?

Everytime I run synth previous stack gets deleted.

My idea is to maintain stacks and the json even after synth and use or change the same to accomodate new changes based on the configuration which made the stack altogether.

Any ideas ?

I answered over here since you provided a bit more context there.