Updated url replacer