improving efficiency on remaking menu