update to work with new refreshless index refreshing. thanks zix