Updating the navigation bar