Updates API to have updateJSON and isPackageFile method.