update js to obatain meal