update rHistory