Updated backend api  for the games history.