I have created a set of popup-menus in a document and saved it as a
template. However when I create a new document from the template the
popup-menu links are not updated relative to the new document!!!

Is there any way to fix this? I will be grateful for an answer.