How to update the queue items after adding the items to it

As I understand, you need to update the SpecificContent in your queue item.

Your requirement can be achieved via Rest API calls to https://ORCHESTRATOR_HOSTNAME/swagger/index.html#/QueueItems/QueueItems_PutById

Or via an SQL update statement in [dbo].[QueueItems] table for column SpecificData.

Important: UiPath strongly does not encourage to use of SQL update manipulations as you may break some functionalities in case you don’t know exactly what you are supposing to do.

Before:

Update the queue item SpecificContent

Method: PUT
URL: https://ORCHESTRATOR_HOSTNAME /odata/QueueItems(QUEUE_ITEM_ID )
Authorization: Bearer token
Headers:
X-UIPATH-OrganizationUnitId: TENANT_ID
Accept: application/json

Body of type JSON:

Example:

{
        "Priority": "Low",
		"Name": "Queue_1",
	"SpecificContent": {
		"DocumentType": "Invoice repair",
		"Category": "Semi Trucks",
		"RepairStatus": "Repaired Paid",
		"EstimateUSD": 2500,
		"CreateDate": "2022/8/31",
		"LastUpdateDate": "2022/8/31",
		"Comments": "Changed Oil and brake disks"
	},
	"Reference": "Invoice_repair_1",
	"Progress":null
}

After:

Reference:

https://uipath-survey.secure.force.com/CaseView/articles/Knowledge/Update-Queue-Item-Specific-Data?lang=en_US