update controller to use the new  variable in the resolver/cacheManager