Update ScannerGenerator