Update MainPage.java