chore(api): update to new api