added changes to cache manager