Updating conditional to cache items