Fixed updating history
-ININ.
Begining to implement buildHistory to parse int to history string.
-ININ.