Update template for do not re-define exists modules.