replacing hardcoded title in updateUrl function with settings.titlePrefix