updated index with layout