fixed null buffer pointers
added GetIdFromVersion
upload functions now return assetId and assetVersionId