Extension updates to the database can be done with the LoadExtensionSchemaUpdates hook. The callback function is called when maintenance/update.php is run.
Thanks. So am I correct in assuming that code updates to of any kind should be followed by running the update script?
Paul N.