updateDeadlineTask method done