# Update User Avg Rate Stat

{% hint style="success" %}

#### Like what you're seeing?

Support us as a [GitHub Sponsor](/old-kb/where-to-buy/become-a-sponsor.md) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](/old-kb/where-to-buy/become-a-sponsor.md) ... become a sponsor today!
{% endhint %}

## Introduction

{% hint style="warning" %}
Only valid for Steam Game Servers
{% endhint %}

Updates an AVGRATE stat with new values for the specified user.

You must have called [Request User Stats](/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/request-user-stats.md) and it needs to return successfully via its callback before calling this!

This call only modifies Steam's in-memory state and is very cheap. To submit the stats to the server you must call Store User Stats.

{% hint style="info" %}
This will work only on achievements that game servers are allowed to set. If the "Set By" field for this achievement is "Official GS" then only game servers that have been declared as officially controlled by you will be able to set it. To do this you must set the IP range of your official servers in the [Dedicated Servers](https://partner.steamgames.com/apps/dedicatedservers/) section of App Admin.
{% endhint %}

### User

The Steam ID of the user to update the AVGRATE stat.

### API Name

The API Name of the stat

### Value

The value accumulation since the last call to this function

### Length

The amount of applicable time in seconds since the last call to this function

### Return Value

True if successful

## Nodes

<figure><img src="/files/bsMuNutAWIX8OeWtkiRJ" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/update-user-avg-rate-stat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
