code: def rename_agents(self, stmts):
          mapped_stmts = deepcopy(stmts)
          for _, stmt in enumerate(mapped_stmts):
              for agent in stmt.agent_list():
                  if agent is None:
                      continue
                  if agent.db_refs.get('FPLX'):
                      agent.name = agent.db_refs.get('FPLX')
                  elif agent.db_refs.get('UP'):
                      gene_name = uniprot_client.get_gene_name(
                                                      agent.db_refs.get('UP'),
                                                      web_fallback=False)
                      if gene_name:
                          agent.name = gene_name
                          hgnc_id = hgnc_client.get_hgnc_id(gene_name)
                          if hgnc_id:
                              agent.db_refs['HGNC'] = hgnc_id
          return mapped_stmts