rebuilds package