impro(api): upgrade to use the v1 api