update localhost to ip address