rename type attributes