Update Task.spark