# DynamoDBStorage.ConvertUpdate(Dictionary&lt;string, AttributeValue&gt;, Dictionary&lt;string, AttributeValue&gt;, string, Dictionary&lt;string, AttributeValue&gt;)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions.dynamodb/orleans.transactions.dynamodb.dynamodbstorage/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.transactions.dynamodb/orleans.transactions.dynamodb.dynamodbstorage/methods/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/AWS/Shared/Storage/DynamoDBStorage.cs#L565-L600)

```csharp
public (string updateExpression, Dictionary<string, AttributeValue> expressionAttributeValues) DynamoDBStorage.ConvertUpdate(Dictionary<string, AttributeValue> fields, Dictionary<string, AttributeValue>? conditionValues = null, string extraExpression = "", Dictionary<string, AttributeValue>? extraExpressionValues = null)
```

### Parameters

- `fields` (`Dictionary<string, AttributeValue>`)
- `conditionValues` (`Dictionary<string, AttributeValue>`)
- `extraExpression` (`string`)
- `extraExpressionValues` (`Dictionary<string, AttributeValue>`)
