Update for API changes

Signed-off-by: Jack Huey kitskub@gmail.com