Refactoring, pass the url directly to Update()