> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # updateMeta > updateMeta method for the RoomSession class. ### updateMeta * **updateMeta**(`meta`): `Promise` Updates the RoomSession metadata by only setting the specified fields. This is different from [setMeta](#setmeta), which replaces the whole metadata object. #### Parameters **`meta`** `Record` The update to the metadata. --- #### Returns `Promise` #### Permissions * `room.set_meta` You need to specify the permissions when [creating the Video Room Token](/docs/apis/rest/video/room-tokens/create-room-token) on the server side. #### Example ```js roomSession.on("room.updated", (e) => { // We can set an event listener to log changes to the metadata. console.log(e.room.meta); }); await roomSession.setMeta({ foo: "bar", baz: true }); // The logger will now print `{ foo: "bar", baz: true }` await roomSession.updateMeta({ baz: false, t: 10 }); // The logger will now print `{ foo: "bar", baz: false, t: 10 }` ``` > updateMeta method for the RoomSession class.