refactor(core): change client to use api version 2