update_cache: reset instead of merge