code: public void update(String cacheName, Cache cache) {
          cacheManager.enableManagement(cacheName, cache.isManagementEnabled());
          updateStatistics(cacheName, cache);
      }
docs: Update mutable information of cache configuration such as management and statistics support
  
  @param cacheName name of cache to update
  @param cache     containing new values