update afm.c+menu_1.c