update using page number