update api calls to 2.1