updated history from relatn table