switch to v3 api version
set user agent