define and use automation for building outer ConstDef updates