Update example to get IP correctly