modify nvamenu.xml of document