Update config with new value