update active bar