Updating for caching