swap in primary key in xt.data