add update state of toolbars