updated navbar appropiately