update submenunav to use function
update submenunav to use function
update submenunav to use function