updated ip address check