code: def update_members(self, members, append_lists=False, remove_members=False):
          
          if members:
              elements = [element_resolver(element) for element in members]
              if remove_members:
                  element = [e for e in self.members if e not in elements]
                  if set(element) == set(self.members):
                      remove_members = element = False
                  append_lists = False
              elif append_lists:
                  element = [e for e in elements if e not in self.members]
              else:
                  element = list(set(elements))
              
              if element or remove_members:
                  self.update(
                      element=element,
                      append_lists=append_lists)
                  return True
          
          return False
docs: Update group members with member list. Set append=True
          to append to existing members, or append=False to overwrite.
  
          :param list members: new members for group by href or Element
          :type members: list[str, Element]
          :param bool append_lists: whether to append
          :param bool remove_members: remove members from the group
          :return: bool was modified or not