modified config for connection to new database