update packages on rebuild