refresh packages on build