updated to api version 2
Merge remote-tracking branch 'origin/master'