update mapping of primitive types