Added update hooks when installing missing packages