exit menu, update file