Updated the manifest modification code.