Allow swapping connection parameters while executing update_index