Updating stats file