Changed database connection