Page num input and update