updated layout in views and index