Remove unused code
Remove unused third parameter of private updateURL for invocations and declaration