update mainpage and add transaction