updates caching