Updating rendering for attachment dom attributes