update code for home page layout: