update rest of the library to reference https endpoint