Using the following code, you can save a store config value. The first parameter is the path from the core_config_data table.

Saving store config data programmatically
You want or need help implementing this solution? Maybe you did not find what you were looking for? Contact me and I will assist you with whatever Magento problem troubles you!