update document page