Update mechanism for the task deleting