update nav bar collapse