Update mainpage.jsp