updating Preact URL