update cause by changes in the api
Merge pull request #1 from vmora/master

update cause by changes in the api