Accepting a downtime, using the developer edition it worked for me by simply running
npm update -g realm-object-server
and then restarting it using either
in the servers folder or, if using pm2:
pm2 restart myObjectServer
For me, the downtime when restarting via pm2 used to be less than a second.