update menu weight