caching location changes