<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_authoring_nodes(self, editor):
 """ Updates given editor Model authoring nodes. :param editor: Editor. :type editor: Editor :return: Method success. :rtype: bool """


        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