updated config to use remote database connection