updated calles to api