- added lock to push db