How to update the status of an inventory package in deluge?

How to update the status of an inventory package in deluge?

I'm trying to update the status of an inventory package from "not_shipped" to "shipped". The problem is that whenever I try to update the package, it's still listed out as not shipped in inventory. Here's my deluge code. 

  1. packageUpdate = Map();
  2. packageUpdate.put("status","shipped");
  3. zoho.inventory.updateRecord("Packages","829382732",packageId,packageUpdate);
I also tried using markStatus with the following code but that isn't working either. 

  1. zoho.inventory.markStatus("Packages","829382732",packageId,"shipped");
Does anyone know why this package is still marked as not shipped and how I can change this to shipped?