Is there any particular reason hostnames are not updated there?
While looking at the code network-table.c, lines 452-487 I can see hwaddr, interface and macVendor are the only fields that are being updated. Hostname isn't a thing that can't change and I think it would make sense to modify update query to include hostname as well.
Check again and look for name (in the SQL string) and hostname (which is the C variable)
When you are concerned about the mock-device to real-device update below (which is triggered only very seldom), then you should check the comment immediately below the database query command: