now send to correct elasticsearch type and with the right identifier