[add] Add function updateHistory
[add] Add function updateHistory

about updateHistory
  in js
  void updateHistory(_mode, _initDate, _exitDate, _initRank, _exitRank)
    add history & set localStorage

AyaNakazawa/osu_ranking_diary,AyaNakazawa/osu_ranking_diary,AyaNakazawa/osu_ranking_diary,AyaNakazawa/osu_ranking_diary