[db] keep formats when doing a live db update