Update class names of the checkbox and radio elements in the append() methods