redundancy checks added to replace and exclude update