add active to tab, update nav bar