updated ip address for redirect method