update href on id change