Atomic ref update: We cannot manipulate ref data directly. Need to set the pending update fields for now. Later, we will provide an API for the same