update history fixed bugs

for sweepstake data by system