updating api closes #69