updates for headless sessions