updating type mappings