Auto Constrain in edit flange profile

Can any one suggest me how to auto constrain this sketch. (Doing manually is vary time consuming process) It causing an issue when I do any changes in the flange profile.

Causing/issue - It's over all length also varying irrespective of value given in the flange length.

Appreciate your valuable Inputs

SolidworksSheet Metal