code: def update_authoring_nodes(self, editor):
          
  
          editor_node = foundations.common.get_first_item(self.get_editor_nodes(editor))
          file_node = editor_node.parent
          file = editor.file
          file_node.name = editor_node.name = os.path.basename(file)
          file_node.path = editor_node.path = file
  
          self.node_changed(file_node)
          return True
docs: Updates given editor Model authoring nodes.
  
          :param editor: Editor.
          :type editor: Editor
          :return: Method success.
          :rtype: bool