updating http server api