updating app bar