sync to latest API
Merge pull request #1 from pmlopes/master

sync to latest API