update barcodescanner.java