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

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