update before package install