updating index layout.