Update packages when build