Removed database locking
removed database locking