update to new http-api version