change barcode to id