modify the database connection