Updated api endpoint

Fixes #3