Update CachedRecord.php