This block is exactly the same as the block in `ConfigAPI.on('update', function(tenantAlias) {`. Perhaps we can abstract it?