Is there any way to update weldments automatically if the profile changed?

Hi, I've got a question about weldments.

After i built a weldments, i changed the profile file, but it doesn't link to the weldments. I have to open the Structural Member feature and select the same profile name again. my question is is there any easy way to update them automatically? Is it possible to use macro to do it? thanks

SolidworksWeldments