save mapping type