Updating layout in index