Made the deploy update hooks work