Update task status

Updates the status of a task with results.