For example:
Open "C:\Program Files\Autodesk\AutoCAD 2026\Sample\Database Connectivity\Floor Plan Sample.dwg"
Read only is ok
Zoom in to a cubicle and double click on RMNUM block which has a single Attribute NUMBER:

EATTEDIT command is executed, then right mouse click on the Value edit box and on the context menu select Insert Field

In the Field window:
Field Category: Objects
Field names: Object
Object type: click on Cross to select object

Back on the graphics drawing window select the Chair block

When the Field window reappears this time under Property select Name & click OK 2x

Back on the graphics drawing screen you'll see that the name of the Chair block is now filled in as the block attribute:

Now when you Rename the Block CHAIR7 with CHAIR8 and then do a REGEN the Block attribute will automatically update