udpating the toolbar actions