fix bugs with storing cell updates in mongo