Added atomic update operation.