Update the index layout