Update write_config.rb