updating resources url