updated api
Merge pull request #1 from Parcela/updated-api

updated api