Fix client reference in update_index!.