correct the update of pages