Changes to db connection