Select the gate needs to be replaced. AO22X1 in this case. Press 'Replace cells' button.
Select AND4X8 in Cell Selection window.
The left column is the replacing cell pins list. The right columns are connections selections. If the replacing cell and the replaced cell have same pins, the replacing pins will connect to the replaced cell's pins' existing connections by default.
Since AND4X8 has different pins from AO22X1, you have to manually select connections otherwise some pins are undriven. The following shows A->A0 B->A1 C->B0 D->B1.
Click Ok of above window, the AO22X1 is replaced by AND4X8 as following shows.
If you would like to connect the replacing AND4X8's A pin to n1448, you can select 'Driven by' checkbutton and type n1448 in the entry. Or click the entry to activate the entry, then click U891's output pin n1448. n1448 will fill in the entry automaticlly.
The following shows the replacement and new connections.
You can replace latch cell TLATX1 by a reset/set one.