fixed updated lib
Merge branch 'LibraryFixes'
updated to new api
Merge pull request #32 from edewit/AGCORDOVA-9

updated to new api