update nav bar for each section