Fix node deadlock

Fix deadlock on Node.js running.
I modified to `update` and `find` method to be run exclusively.