update nav-bar