change index for category