Change the format of indexes