update package type