Fixing mock statistics update issue