Fixes Issue #11

Making sure the update command actually updated one document which means it acquired the lock successfully.