Add upgrade step for indexes