update to work with api v2.2 (v1.0 is no closed)