update for nhttp changes