Updates history.