update each page