add uniq to category relationships