update for v2.1 of the API