code: def update_title(self, title):
          
  
          body = {
              'requests': [{
                  'updateSheetProperties': {
                      'properties': {
                          'sheetId': self.id,
                          'title': title
                      },
                      'fields': 'title'
                  }
              }]
          }
  
          response = self.spreadsheet.batch_update(body)
          self._properties['title'] = title
          return response
docs: Renames the worksheet.
  
          :param title: A new title.
          :type title: str