updated db connection to working cs