Update for new case apis
Merge pull request #7 from setowns1/bug

Update for new case apis