Takes an object of properties and either updates or adds the items to the URL.