updating history
deleting r history