change the database connection