modify tag index