update packge struct