Simplify/factor in-place datastore updates.