remove old db connection method