Fixed a bug where database conflicts could occur when updating documents