Update DirectoryHelper.php