Update hover and legend after data changes in bokeh server


I am deploying a bokeh server which plots some benchmark data. I have several drop down menus which permit the user to change what is being plotted (for example, to go from distance vs. time to velocity vs. time, or velocity vs. distance) on the fly. Unfortunately after the data has been updated, the hover tool no longer functions. Additionally, I haven’t seen a way by which I can change the text in the legend (for plotting multiple data sets on the same graph). Is there any way to accomplish these tasks?

Kind regards,