index update to layout