Update tasks.js