update client construct to match new api. added github headers