update external index