use updateui event for updating statusbar