Ok now it's done, previously it would only update the selected tab

in fact, this should be on the other branch.