updates html for the link html directives