Update uninstall to remove code types table
Rename code type field as name