[Web] Updating the C++ API