update menu js