removed ip address hard-coding. added update freqency setting