Update ScanDirectory