Parametric/equations sheet metal modeling

Hey! Im trying to use equations/variables to change sheet metal model. I have made variables and linked them with correct dimensions. First the model is dimensioned like in the variables table, but when i want to change dimension in variables table, models base flange will change but edge flange will have error and i have to select the edges again. same goes for miter flange. How can i fix this?




Edu ​​​​​​​SOLIDWORKS ​​​​​​​