change index layout