updated more examples for recent interface changes

Change-Id: I5cdf44a038fe387ee3d070a26441aa5c76404ebf