if ( entity instanceof IObject )
if ( entity instanceof IObject && ! secSys.isDisabled(UPDATE_EVENT))
    public boolean onPreUpdate(PreUpdateEvent event)    {    	Object entity = event.getEntity();		if ( entity instanceof IObject )		{	    	int[] dirty = event.getPersister().findDirty(	    				event.getState(),	    				event.getOldState(),	    				event.getEntity(),	    				event.getSource());	    	if (dirty == null||dirty.length==0) 	    	{	    		// return true; // veto.	    	} 	    		    	else 	    	{		    	// otherwise change update event (last modification)				IObject obj = (IObject) entity;		        obj.getDetails().setUpdateEvent( secSys.currentEvent() );	    	}		}        return false;    }