modify attribute types