update appbar