code: def update(selected=None):
      t1, t2 = ticker1.value, ticker2.value
      data = get_data(t1, t2)
  
      source.data = data
      source.selected.indices = []
      source_static.data = data
      corr.title.text = f"{t1} returns vs. {t2} returns"
      ts1.title.text, ts2.title.text = t1, t2
  
      update_stats(data, t1, t2)
  
file_path: bokeh/examples/server/app/stocks/main.py
imports: from functools import lru_cache
  from bokeh.layouts import column, row
  from bokeh.models import ColumnDataSource, PreText, Select
  from bokeh.plotting import curdoc, figure
label_desc: Use image node_id 6 for calling a global function with example usage: update(selected) without return types