updates for typecode