update linux example to new interface