Revert "updating db connection"

This reverts commit 69dea01774dfa1f3921a33eed9c6c7e3b0157fc5.