updating index format