update menu to collapse