At this point in the code:
https://github.com/wikipathways/pvjs/blob/master/lib/editor/editor.js#L185
You can grab the new revision number from the responseText, like so:
This will return a value, like 80291, that then needs to be passed to pvjs so that it knows what the current version is in order to support additional edits.
Doable?