Refined cancel update operation for directories.