updating task context of a task in apply_async method