Update ref UI for new version of window request API