Update cook.js