# Updating Reactions

Reactions can be updated by providing the reaction ID parameter. Changes to reactions are propagated to all notified feeds; if the `target_feeds` list is updated, notifications will be added and removed accordingly.

### Parameters

| name         | type   | description                                                   | default | optional |
| ------------ | ------ | ------------------------------------------------------------- | ------- | -------- |
| reaction_id  | string | The ID of the reaction                                        | -       |          |
| data         | object | Reaction data                                                 | -       | ✓        |
| target_feeds | string | The list of feeds that should receive a copy of the reaction. | -       | ✓        |

<Tabs>

```csharp label="C#"
var reactionData = new Dictionary<string, object>
{
  { "text", "love it!"}
};
await client.Reactions.UpdateAsync(reactionId, reactionData);
```

```js label="JavaScript"
client.reactions.update(reactionId, { text: "love it!" });
```

```python label="Python"
client.reactions.update(reaction_id, {"text": "love it!"});
```

```ruby label="Ruby"
client.reactions.update(reaction_id, :data =&gt; {:text =&gt; "I love it"})
```

```php label="PHP"
$client-&gt;reactions()-&gt;update($reaction_id, ["text"=&gt; "I love it"]);
```

```java label="Java"
client.reactions().update(Reaction.builder()
    .id(reaction.getId())
    .extraField("text", "love it!")
    .build());
```

```go label="Go"
resp, err := client.Reactions().Update(context.TODO(), reactionID, map[string]any{"text": "love it!"}, nil)
	if err != nil {
		panic(err)
	}
```

</Tabs>


---

This page was last updated at 2026-05-22T16:31:50.921Z.

For the most recent version of this documentation, visit [https://getstream.io/activity-feeds/docs/node/v2/reactions-update/](https://getstream.io/activity-feeds/docs/node/v2/reactions-update/).