update link to api