add indexes after data xfer