Fix updating href attributes