Using local cache and updated query