edit of statistics, added page refresh