update index layout