redoing index db