renew layout of index