update pack method