update the second page