Updated to latest API
Merge pull request #2 from vrozkovec/master

Updated Task to latest API