helper.js fix updateTask() with one } more