updated the status bar