Update pre deploy hook