Update value attribute for key/value units

Otherwise we would not see updated unit as translated.