change ip method