merge the record and upload feature