Used a callback on the tab update to prevent need to refresh page