Update a task definition

Updates an existing task definition.