updated updatestatus and add_inventory methods
added uknown status to statuscodes