updated to use the latest sockethub-client api