Changes to the database connectio