Add polling interval to json & update ip

Polling interval was not part of the api response and the ip address was never updated