modify the index layout