update menu tree/list type