Add --use-private-ip and --prefer-private-ip option in update method