update menu
update graph