def update_folder_name(self, name):
if self.root:<EOL><INDENT>return False<EOL><DEDENT>if not name:<EOL><INDENT>return False<EOL><DEDENT>url = self.build_url(<EOL>self._endpoints.get('<STR_LIT>').format(id=self.folder_id))<EOL>response = self.con.patch(url, data={self._cc('<STR_LIT>'): name})<EOL>if not response:<EOL><INDENT>return False<EOL><DEDENT>folder = response.json()<EOL>self.name = folder.get(self._cc('<STR_LIT>'), '<STR_LIT>')<EOL>self.parent_id = folder.get(self._cc('<STR_LIT>'), None)<EOL>return True<EOL>
Change this folder name

        :param str name: new name to change to
        :return: Updated or Not
        :rtype: bool