Updated db connection