update client to make use of new api

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
0.99_1