Controlling Configurations of library features

Hey guys need a little help here.  I am trying to change configurations of library features with a macro.  I have the macro done but all it does it change the name of the configuration.  i am using LibraryFeatureData::ConfigurationName and it is only changing the name.  It there an API that will physically change the configuration or should this API be doing that?  I dont see why you would just want to change the name of the config and not the acutal config.  I attached the macro and the part that changes the config is on the bottom of the macro.  And there is a sample part if you want to try it.

Thanks for any help.

SolidworksApi macros