Update the href attribute of base element