Update the save routine for submenu context