update statistics box in frontend