modify publish pkg