Since the page numbers can be different depending on how the opening application renders the document, i don't think that there is a way to do that by means of the OpenXml-SDK.
You can update fields/tocs using a macro or automation:
How to automatically update tables of contents
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…