updating index for new layout