# Update Avg Rate Stat

{% hint style="success" %}

#### Like what you're seeing?

Support us as a [GitHub Sponsor](https://kb.heathen.group/old-kb/where-to-buy/become-a-sponsor) 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](https://kb.heathen.group/old-kb/where-to-buy/become-a-sponsor) ... become a sponsor today!
{% endhint %}

## Introduction

Updates an AVGRATE stat with new values.

### API Name

The stat to be updated

### Count This Session

Value accumulation since the last call to this function

### Session Length

The length of session time since the last call to this function.

### Return Value

True if the call was successful

## Nodes

<figure><img src="https://4053370152-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZWu8yFOWhCYCMkJFmR%2Fuploads%2FJST8GmC8UdyISByZLrcv%2Fimage.png?alt=media&#x26;token=110cad0d-a44c-4659-9f38-154916127aa8" alt=""><figcaption></figcaption></figure>
