added the local ip to the ip upadate functionality