code: def rename_rater(self, name, new_name):
          
          for rater in self.root.iterfind('rater'):
              if rater.get('name') == name:
                  rater.set('name', new_name)
  
          self.save()
docs: Rename event type.