Function to refresh deck-browser screen

Hello honorable gentlemen, I was wondering if there is some sort of function in Anki that once called, can refresh the deck-browser screen?

For some background, I am trying to refresh the deck screen when a user changes the drop-down menu so it can re-render the heatmap with the selected type of review(edited)

To anyone who was interested, one just has to do mw.reset() to refresh the deck browser screen