changeconfig for adaptor and url