Update a task

Updates the specified task with the provided fields.