Fixed a bug : updating some fields when generating packages didn't work.