@Override
	public void updateRecord()
	{
		comps = null;
		byte[] first = firstPtg.getRecord();
		byte[] last = lastPtg.getRecord();
		// KSC: this apparently is what excel wants:
		if( wholeRow )
		{
			first[5] = 0;
		}
		if( wholeCol )
		{
			first[3] = 0;
			first[4] = 0;
		}
		// the last record has an extra identifier on it.
		byte[] newrecord = new byte[PTG_AREA3D_LENGTH];
		newrecord[0] = 0x3B;
		System.arraycopy( first, 1, newrecord, 1, 2 );
		System.arraycopy( first, 3, newrecord, 3, 2 );
		System.arraycopy( last, 3, newrecord, 5, 2 );
		System.arraycopy( first, 5, newrecord, 7, 2 );
		System.arraycopy( last, 5, newrecord, 9, 2 );
		record = newrecord;
		if( parent_rec != null )
		{
			if( parent_rec instanceof Formula )
			{
				((Formula) parent_rec).updateRecord();
			}
			else if( parent_rec instanceof Name )
			{
				((Name) parent_rec).updatePtgs();
			}
		}
	}