edit index layout