code: def update_dtale_data(player_data):
      curr_data = get_instance("1")
      if curr_data is not None:
          # append data to pre-existing data in D-Tale
          curr_data = curr_data.data
          curr_data = curr_data[
              ~(curr_data["name"] == player_data["name"].values[0])
          ]
          player_data = pd.concat(
              [curr_data, player_data], ignore_index=True
          )
          cleanup("1")
      # load data to D-Tale
      startup(data_id="1", data=player_data)
  
imports: import json
  import pandas
  import requests
  import streamlit
  import urllib
  import uuid
  from bs4 import BeautifulSoup
  from logging import getLogger
  from dtale.app import get_instance
  from dtale.global_state import cleanup
  from dtale.views import startup
label_desc: Use image node_id 6 for calling a global function with example usage: update_dtale_data(player_data) without return types