update top-bar