changes related to Lock DB