Improve comment upload method with system-generated record ID.