update nav-sub for last element