update statusbar