updating db-connect template