update layout index