updates for barcode reading