url could be null here which will throw a URISyntaxException which changes the previous behavior or ignoring null url values and still updating the update value.

I think this should be moved to after the check to url != null on line 117