Update EnhancedScanner.java