update for cache