Remove global insert/update locks
Merge pull request #373 from bastih/master

Remove global insert/update locks