Updating db connections