added check and interactive updating the URLs with missing '?' at the end