update the mainpage