Added support for atomic writes via updateAtomicallyUsingBlock:.