if ( h.isTrait() ) {
if ( ( (TraitFactHandle) h ).isTraitable() ) {
// this is a traitable core object, so its traits must be updated as well
updateTraits( h.getObject(), mask, null, modifiedClass );
} else {
Thing x = (Thing) h.getObject();
// in case this is a proxy
if ( x != x.getCore() ) {
Object core = x.getCore();
InternalFactHandle coreHandle = (InternalFactHandle) getFactHandle( core );
((InternalWorkingMemoryEntryPoint) coreHandle.getEntryPoint()).update(
coreHandle,
core,
mask,