change package type