Added support for atomic updates.