I agree this could be refactored to use a loop. I won't do it now, though, as I would want to tidy up `_hideTab` to use the same loop and that is not really tested well enough currently. This `update` method has been tidied-up a bit in this bugfix already so I am happy with that.