Added a function to modify manifests