sqlite: updating pack method