update debug page for the new api