updates for caching