# How to get originalObject in Live Query update event

**URL:** <https://community.parseplatform.org/t/how-to-get-originalobject-in-live-query-update-event/3035>\
**Category:** JavaScript SDK\
**Created:** [November 6, 2022, 12:04am UTC](https://community.parseplatform.org/t/how-to-get-originalobject-in-live-query-update-event/3035 "2022-11-06T00:04:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bxff](https://community.parseplatform.org/user_avatar/community.parseplatform.org/bxff/32/1406_2.png) [@bxff](https://community.parseplatform.org/u/bxff)\
**Post date:** [November 6, 2022, 12:04am UTC](https://community.parseplatform.org/t/how-to-get-originalobject-in-live-query-update-event/3035/1 "2022-11-06T00:04:46Z")

</div>

I am trying to get the original Object in Parse JS Client SDK on update, which only relays the updated message and not the original. The architecture on Parse Server documentation says that [The Publisher](https://docs.parseplatform.org/parse-server/guide/#basic-architecture) sends both original object and the updated object to The Subscriber which then relays to the client, but on the client I can’t get the original object. Is there something I am missing.

If this is not possible though the update API, is there any other way to achieve this functionality, other than to manually store the older object.

Refer: [JavaScript Developers Guide update-event | Parse (parseplatform.org)](https://docs.parseplatform.org/js/guide/#update-event)

---

<div class="post-metadata">

**Author:** ![dblythy](https://community.parseplatform.org/user_avatar/community.parseplatform.org/dblythy/32/231_2.png) [@dblythy](https://community.parseplatform.org/u/dblythy)\
**Post date:** [November 6, 2022, 1:52am UTC](https://community.parseplatform.org/t/how-to-get-originalobject-in-live-query-update-event/3035/2 "2022-11-06T01:52:48Z")

</div>

```auto
subscription.on('update', (object, original) => {
  console.log('object updated');
});

```

---

<div class="post-metadata">

**Author:** ![bxff](https://community.parseplatform.org/user_avatar/community.parseplatform.org/bxff/32/1406_2.png) [@bxff](https://community.parseplatform.org/u/bxff)\
**Post date:** [November 6, 2022, 6:04pm UTC](https://community.parseplatform.org/t/how-to-get-originalobject-in-live-query-update-event/3035/3 "2022-11-06T18:04:11Z")

</div>

Thanks for the info, found the [`Subscription API`](https://parseplatform.org/Parse-SDK-JS/api/master/Parse.LiveQuerySubscription.html) documentation. This should probably be stated in the Guide.
