udpating the toolbar