modernize DB connections