Updating config for cache