updated IP fetching