Save data to the correct config sections