change to V2 API
changed to API version 2