update http api generator