Found the lost function.
Need to update menu after converting list tree to menu.