Zoho CRM - Change owner of note

Zoho CRM - Change owner of note

Hey!
I just started out with Deluge and Zoho and I'm trying to migrate all purchase orders to sales orders. All worked fine until I got to the notes.
I effectively duplicated the notes but assigned them to the newly created sales order. This also works fine, except for the fact that every note is now owned by the owner of the system and not the person who created it in the first place.
I passed the owner and I also tried to change the owner afterwards, but none seemed to work out.
  1. notemap.put("Owner", ifnull(note.get("Owner").get("id"));
  2. ...
  3. createNote = zoho.crm.createRecord("Notes", notemap);
  4. // updateNote = zoho.crm.updateRecord("Notes", note.get("id"), notemap)
Hopefully you can help me.
Thanks in advance