template.php update to main menu tree