dock:: update menu item after docking/undocking