How can I automatically update product specifications based on size selection in Impulse theme?

Maybe it is possible make if my product has 4 different sizes, and when open my product page I all 4 sizes written in specifications, like: Double size: and dimensions, Kingsize: dimensions.

I wanna do like when they choose the size automatically change in specification product size and I don’t need all product dimensions to write in one specifications tab.

maybe someone knows or it’s possible on Impulse theme to make like that?

When they choose double king size them shows in specification tab about double, when kingsize, them shows about that.