updateAsync

The update() method of the MediaKeySession interface loads messages and licenses to the CDM, and then returns a Promise.

MDN Reference