updated the main page layout