Updates DB connection