replace host in config file