Modify the sample sheet to cache.