add attributes to navs