When you save a package you choose whether to save it to SQL Server or to the file system. If the package is saved to SQL Server, it's stored in msdb.dbo.sysdtspackages90 in an image column. I don't think you could modify a package by updating the table.