update R history