# Docs discrepencies between different pages, which one is right?

**URL:** <https://forum.heroiclabs.com/t/docs-discrepencies-between-different-pages-which-one-is-right/159>\
**Category:** Local Setup\
**Created:** [August 24, 2019, 9:53am UTC](https://forum.heroiclabs.com/t/docs-discrepencies-between-different-pages-which-one-is-right/159 "2019-08-24T09:53:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GroovyAntoidDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/groovyantoiddev/32/39_2.png) [@GroovyAntoidDev](https://forum.heroiclabs.com/u/GroovyAntoidDev)\
**Post date:** [August 24, 2019, 9:53am UTC](https://forum.heroiclabs.com/t/docs-discrepencies-between-different-pages-which-one-is-right/159/1 "2019-08-24T09:53:00Z")

</div>

In the [ref page here](https://heroiclabs.com/docs/runtime-code-basics/#message-names), the method signature is `AuthenticateDevice` but in the [tutorial here](https://heroiclabs.com/docs/tutorial-initialize-new-user/#server-side-hook) it is called `authenticaterequest_device`.

In the [tutorial here](https://heroiclabs.com/docs/user-accounts/#virtual-wallet), the method to change the wallet is: `pcall(nk.wallet_update, user_id, content)` but in the [tutorial here](https://heroiclabs.com/docs/tutorial-initialize-new-user/#server-side-hook) it is: `nk.wallet_update(context.user_id, changeset, metadata, true)`.

My question is, which ones are more up to date and which ones are the obsolete pages?

---

<div class="post-metadata">

**Author:** ![zyro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/zyro/32/14_2.png) [@zyro](https://forum.heroiclabs.com/u/zyro)\
**Post date:** [August 24, 2019, 11:08am UTC](https://forum.heroiclabs.com/t/docs-discrepencies-between-different-pages-which-one-is-right/159/2 "2019-08-24T11:08:39Z")

</div>

For the first one the reference page is correct. We’ll fix the tutorial example.

The second one both are correct. One is wrapped in a `pcall` for error handling and the other overrides some default arguments, but at a glance both are valid.

---

<div class="post-metadata">

**Author:** ![GroovyAntoidDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/groovyantoiddev/32/39_2.png) [@GroovyAntoidDev](https://forum.heroiclabs.com/u/GroovyAntoidDev)\
**Post date:** [August 24, 2019, 12:39pm UTC](https://forum.heroiclabs.com/t/docs-discrepencies-between-different-pages-which-one-is-right/159/3 "2019-08-24T12:39:40Z")

</div>

Thank you 😄
