update headless's stubs