updates cache to account for testing environment