updated the main pages to a new layout