add primary index id