Nextcloud office not working after update

different URLs you are using for office and cloud sound like separated CODE?
but this looks like collabora-built-in

which is supposed to live below {cloud}/apps/richdocumentscode/proxy.php?req= url (see Collabora integration guide)