Update code for home page.