Please see below screenshot of the stamp showing what I intend to create. When the stamp is selected to 'Appy to all', the page number will be updated on each page automatically.