updating navigation bar