Update Scan.java