Update a workflow

Updates an existing workflow definition.